using System;
using Catastrophe.Common.FileM;

namespace Catastrophe.Common.EndeCrypt
{
	public class EnDecryptAttribute : Attribute
	{
		public string EncryptMethod { get; set; }

		public string DecryptMethod { get; set; }

		public EndecryptTypeEnum EndecryptType { get; set; } = EndecryptTypeEnum.None;


		public EncodeTypeEnum EndeCodeType { get; set; } = EncodeTypeEnum.Utf8;


		public EnDecryptAttribute(string encryptMethod = "", string decryptMethod = "")
		{
			this.EncryptMethod = encryptMethod;
			this.DecryptMethod = decryptMethod;
		}
	}
}
